<!DOCTYPE html>
<html lang="zh_CN">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>HTML+CSS轮播图</title>
  <link rel="stylesheet" href="./swiper.css">
</head>

<body>
  <div class="swiper">
    <input type="radio" name="btn" id="btn1" checked>
    <input type="radio" name="btn" id="btn2">
    <input type="radio" name="btn" id="btn3">
    <input type="radio" name="btn" id="btn4">
    <label for="btn1"></label>
    <label for="btn2"></label>
    <label for="btn3"></label>
    <label for="btn4"></label>
    <div class="box">
      <img src="./images/4.png" alt="">
      <img src="./images/1.png" alt="">
      <img src="./images/2.png" alt="">
      <img src="./images/3.png" alt="">
    </div>

  </div>
</body>

</html>